---
layout: default
title: "Archives"
description: "不知不觉写了这么多辣鸡东西呢"
header-img: "img/cover/130841.jpg"
header-mask: 0.4
---

<!-- Page Header -->
<header class="intro-header"
        style="background-image: url('{{ site.picurl }}/{% if page.header-img %}{{ page.header-img }}{% else %}{{ site.header-img }}{% endif %}')">
    <div class="header-shade">
        <div class="container">
            <div class="row">
                <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
                    <div class="site-heading">
                        <h1>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</h1>
                        <span class="subheading">{{ page.description }}</span>
                    </div>
                </div>
            </div>
        </div>
    </div>
</header>

<!-- Main Content -->
<div class="container">
    <div class="row">
        <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">

            <blockquote>
                <p>清醒的堕落才最为可怕</p>
            </blockquote>

            <!-- Tags (as filter) -->
            <div id='tag_cloud' class="tags tags-sup js-tags">
                <a class="tag-button--all" data-encode="">
                    Show All
                    <sup>{{site.posts.size}}</sup>
                </a>

                {% capture tags %}
                {% for tag in site.tags %}
                <a data-sort="{{ site.posts.size | minus: tag[1].size | prepend: '0000' | slice: -4, 4 }}"
                   data-encode="{{ tag[0] | strip | url_encode }}"
                   class="tag-button"
                   title="{{ tag[0] }}" rel="{{ tag[1].size }}">
                    {{ tag[0] }}
                    <sup>{{tag[1].size}}</sup>
                </a>__SEPERATOR__
                {% endfor %}
                {% endcapture %}
                {{ tags | split:'__SEPERATOR__' | sort }}
            </div>

            <!-- Article List -->
            <div class="mini-post-list js-result d-none">
                {%- assign _sorted_list = site.posts -%}
                {%- assign _sorted_list = _sorted_list | sort: 'date' -%}
                {%- assign _sorted_list = _sorted_list | reverse -%}


                {%- for _article in _sorted_list -%}
                {%- assign _tags = '' -%}
                {%- for _tag in _article.tags -%}
                {%- assign _tag_encode = _tag | strip | url_encode -%}
                {%- if forloop.last -%}
                {%- assign _tags = _tags | append: _tag_encode -%}
                {%- else -%}
                {%- assign _tags = _tags | append: _tag_encode | append: ',' -%}
                {%- endif -%}
                {%- endfor -%}

                {% comment %} group by year {% endcomment %}
                {%- assign _currentdate = _article.date | date: '%Y' -%}
                {%- if _currentdate != _date -%}
                {%- unless forloop.first -%}</section>{%- endunless -%}
                <section>
				<span class="fa listing-seperator">
					<span class="tag-text">{{ _currentdate }}</span>
				</span>
                    {%- assign _date = _currentdate -%}
                    {%- endif -%}

                    <div class="post-preview item" data-tags="{{ _tags }}">
                        <a href="{{ _article.url | prepend: site.baseurl }}">
                            <h2 class="post-title">
                                {{ _article.title }}
                            </h2>
                            {% if _article.subtitle %}
                            <h3 class="post-subtitle">
                                {{ _article.subtitle }}
                            </h3>
                            {% endif %}
                        </a>
                        <hr>
                    </div>
                    {%- if forloop.last -%}</section>{%- endif -%}
                {% endfor %}
            </div>
        </div>
    </div>
</div>